package cbc.dao.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TLimit entity. @author MyEclipse Persistence Tools
 */

public class TLimit implements java.io.Serializable {

	// Fields

	private Integer limitId;
	private TLimit limit;
	private String limitName;
	private String limitUrl;
	private String limitUnit;
	private Set<TLimit> limits = new HashSet<TLimit>();
	private Set<TDoctorLimit> doctorLimits = new HashSet<TDoctorLimit>();

	// Constructors

	/** default constructor */
	public TLimit() {
	}

	/** minimal constructor */
	public TLimit(String limitName, String limitUrl) {
		this.limitName = limitName;
		this.limitUrl = limitUrl;
	}

	/** full constructor */
	public TLimit(String limitName, String limitUrl, String limitUnit) {

		this.limitName = limitName;
		this.limitUrl = limitUrl;
		this.limitUnit = limitUnit;

	}

	// Property accessors

	public Integer getLimitId() {
		return this.limitId;
	}

	public void setLimitId(Integer limitId) {
		this.limitId = limitId;
	}

	public String getLimitName() {
		return this.limitName;
	}

	public void setLimitName(String limitName) {
		this.limitName = limitName;
	}

	public String getLimitUrl() {
		return this.limitUrl;
	}

	public void setLimitUrl(String limitUrl) {
		this.limitUrl = limitUrl;
	}

	public String getLimitUnit() {
		return this.limitUnit;
	}

	public void setLimitUnit(String limitUnit) {
		this.limitUnit = limitUnit;
	}

	public TLimit getLimit() {
		return limit;
	}

	public void setLimit(TLimit limit) {
		this.limit = limit;
	}

	public Set<TLimit> getLimits() {
		return limits;
	}

	public void setLimits(Set<TLimit> limits) {
		this.limits = limits;
	}

	public Set<TDoctorLimit> getDoctorLimits() {
		return doctorLimits;
	}

	public void setDoctorLimits(Set<TDoctorLimit> doctorLimits) {
		this.doctorLimits = doctorLimits;
	}

}